Closed
[Core] az ... -o tsv: emit LF line endings on Windows#33454
az ... -o tsv: emit LF line endings on Windows#33454Conversation
️✔️AzureCLI-FullTest
|
️✔️AzureCLI-BreakingChangeTest
|
Copilot
AI
changed the title
[WIP] Fix CRLF output for tsv on Windows causing misleading errors
[Core] May 28, 2026
az ... -o tsv: emit LF line endings on Windows
Collaborator
|
Core |
azclibot
requested changes
Jun 17, 2026
azclibot
left a comment
Collaborator
There was a problem hiding this comment.
⚠️ Issues detected
CI Status: 91/94 checks passed, 3 failed
Live Test: Failed
@copilot Please investigate the failures and update the PR.
Posted by agent-assist (autonomous bug-fix pipeline).
Collaborator
|
Closing this PR. It was generated by an earlier version of our automated bug-fix pipeline whose live-test step ran whole-module tests, which produced mis-targeted and environmental failures unrelated to the change. The pipeline now runs only the test files touched by the PR. This issue will be re-worked from scratch by the updated pipeline. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related command
az <command> -o tsvDescription
Windows text-mode output was translating TSV row terminators to CRLF, which leaked
\rinto POSIX shell command substitution and broke commonfor x in $(az ... -o tsv)patterns. This change keeps TSV output LF-delimited so row-oriented shell usage is stable on Windows.Output path
AzOutputProducer.out()for TSV only.Regression coverage
\n-terminated.Testing Guide
Use any command that returns multiple rows in TSV format.
On Windows, each row should be LF-delimited so the output is safe to consume from POSIX shell command substitution:
History Notes
[Core]
az ... -o tsv: Emit LF line endings on Windows for shell-safe row outputThis checklist is used to make sure that common guidelines for a pull request are followed.
The PR title and description has followed the guideline in Submitting Pull Requests.
I adhere to the Command Guidelines.
I adhere to the Error Handling Guidelines.